package com.youpai.platform.user.service.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.youpai.platform.user.service.entity.po.UserFollowPO;
import com.youpai.platform.user.service.entity.po.UserPO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description: 用户Mapper
 * @Author:welles
 * @Date:2022/7/23
 */
public interface UserMapper extends BaseMapper<UserPO> {

    public List<UserPO> getUserFollowByUid(@Param(value = "uidList") List<Long> uidList);

    public List<UserPO> getUserLikeKeyword(@Param(value = "keyword") String keyword);

    public List<UserPO> getUsersByUids(@Param(value = "uidList") List<Long> uidList);

    public UserPO getUsersByUid(@Param(value = "uid") Long uid);
}
